package br.com.cfccultura.admin.view.tag.combo;

import java.util.Arrays;
import java.util.List;

import javax.servlet.jsp.JspException;

import br.com.cfccultura.admin.model.enums.Sexo;

public class ComboSexoTag extends DefaultComboTag {
		
	private static final long serialVersionUID = 5098309116210185646L;

	@Override
	public int doStartTagInternal() throws JspException {

		List<Sexo> list = Arrays.asList(Sexo.values());
		buildCombo(list, "descricao", null);
		
		return SKIP_BODY;
	}
}
